package Command;
/**
 * EngineOut
 * @author Danny
 *
 */
public class EngineOut extends Command {

	@Override
	public void execute() 
	{
		// Check if connection is ok, return if it isnt
		if(!checkConnection())
		{
			return;
		}
		// Engine, Out, Checksum
		bt.sendLine("1,1,2");
	}
	/**
	 * getCommandString
	 * @return String - Command
	 */
	public String getCommandString()
	{
		return "1,1,2";
	}
	@Override
	public void redo()
	{
		execute();
	}

	@Override
	public void undo() 
	{}
}
